var Script = function() {
	$().ready(function() {
		var $addForm = $("#editForm"), $submit = $addForm.find(":submit");
		$submit.prop("disabled", false);
		$addForm.validate({
			rules : {
				name : "required",
				remark : "required"
			},
			messages : {
				name : "请输入角色名称",
				remark : "请输入一些备注"
			}
		});
	});

}();